package cn.wolfcode.luowowo.comment.repository;

import cn.wolfcode.luowowo.comment.domain.ScenicComment;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 攻略评论
 */
@Repository
public interface ScenicCommentRepository extends MongoRepository<ScenicComment, String> {

    List<ScenicComment> findByUserId(Long userId);

}
